/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package uimigration.WidgetsModel;

import java.util.List;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

import uimigration.Interactions.Behaviour;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Widget</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link uimigration.WidgetsModel.Widget#getName <em>Name</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#getId <em>Id</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#getProperties <em>Properties</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#getEvents <em>Events</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#getContainsWidget <em>Contains Widget</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#isIsContainer <em>Is Container</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#getCardinality <em>Cardinality</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.Widget#isIsRoot <em>Is Root</em>}</li>
 * </ul>
 * </p>
 *
 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget()
 * @model
 * @generated
 */
public interface Widget extends EObject {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Widget#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(int)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_Id()
	 * @model
	 * @generated
	 */
	int getId();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Widget#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(int value);


	/**
	 * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.WidgetsModel.Property}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Properties</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Properties</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_Properties()
	 * @model containment="true"
	 * @generated
	 */
	EList<Property> getProperties();

	/**
	 * Returns the value of the '<em><b>Events</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.WidgetsModel.Event}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Events</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Events</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_Events()
	 * @model containment="true"
	 * @generated
	 */
	EList<Event> getEvents();

	/**
	 * Returns the value of the '<em><b>Contains Widget</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.WidgetsModel.Widget}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Contains Widget</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Contains Widget</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_ContainsWidget()
	 * @model containment="true"
	 * @generated
	 */
	EList<Widget> getContainsWidget();
	
	/**
	 * Returns the value of the '<em><b>Contains Widget</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.WidgetsModel.Widget}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Contains Widget</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Contains Widget</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_ContainsWidget()
	 * @model containment="true"
	 * @generated NOT
	 */
	int getContainsWidgetLength();

	/**
	 * Returns the value of the '<em><b>Is Container</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Is Container</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Is Container</em>' attribute.
	 * @see #setIsContainer(boolean)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_IsContainer()
	 * @model
	 * @generated
	 */
	boolean isIsContainer();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Widget#isIsContainer <em>Is Container</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Is Container</em>' attribute.
	 * @see #isIsContainer()
	 * @generated
	 */
	void setIsContainer(boolean value);

	/**
	 * Returns the value of the '<em><b>Cardinality</b></em>' attribute list.
	 * The list contents are of type {@link java.lang.Integer}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Cardinality</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Cardinality</em>' attribute list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_Cardinality()
	 * @model default="" lower="2" upper="2"
	 * @generated
	 */
	EList<Integer> getCardinality();

	/**
	 * Returns the value of the '<em><b>Is Root</b></em>' attribute.
	 * The default value is <code>"false"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Is Root</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Is Root</em>' attribute.
	 * @see #setIsRoot(boolean)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getWidget_IsRoot()
	 * @model default="false"
	 * @generated
	 */
	boolean isIsRoot();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Widget#isIsRoot <em>Is Root</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Is Root</em>' attribute.
	 * @see #isIsRoot()
	 * @generated
	 */
	void setIsRoot(boolean value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 * @generated
	 */
	Behaviour getBehaviors();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.Widget#isIsContainer <em>Is Container</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Is Container</em>' attribute.
	 * @see #isIsContainer()
	 * @generated NOT
	 */
	List<Behaviour> getBehavior();

} // Widget
